import { axios } from '@/utils/request'

export function distributioninfopage(query) {  //分页查询供应商配送单列表
  return axios({
    url: '/yjsh/distributioninfo/page',
    method: 'get',
    params: query
  })
}

export function distributioninfo(obj) {  //供应商发起配送
  return axios({
    url: '/yjsh/distributioninfo/doDistribution',
    method: 'post',
    data: obj
  })
}

export function getObj(distributionInfoId) {  //获取供应商配送详情
  return axios({
    url: '/yjsh/distributioninfo/distributioninfo/' + distributionInfoId,
    method: 'get'
  })
}
